package dale.web.link.model;

import javax.validation.constraints.Min;

import org.hibernate.validator.constraints.NotBlank;

import dale.web.common.model.BaseModel;

public class Link extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@Min(1)
	private Integer no;
	
	private String category;
	
	@NotBlank
	private String title;
	
	private String content;
	
	private Integer hit = 0;
	
	private String url;

	public Integer getNo() {
		return no;
	}

	public void setNo(Integer no) {
		this.no = no;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getHit() {
		return hit;
	}

	public void setHit(Integer hit) {
		this.hit = hit;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
}
